package com.lancoo.ccas52.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName DealTimeInput
 * @Description 时间设置
 * @Author quin
 * @Date 2022/12/30 17:02
 */
@Data
@ApiModel(value = "CollegeDealTime对象", description = "院系管理员各个流程处理时间段")
public class DealTimeInput implements Serializable {

    @ApiModelProperty(value = "任务id",required = true)
    private Integer taskId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "开始时间",required = true)
    private LocalDateTime setBeginTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "结束时间",required = true)
    private LocalDateTime setEndTime;

    @ApiModelProperty(value = "1:开课计划 2:预选课程->开课单位处理时段 3:教学任务",required = true)
    private Integer type;

    @ApiModelProperty(value = "0禁用  1启用",required = true)
    private Integer isEnable;
}
